package com.demo.demo2.beans;

import com.demo.util.excel.annotations.ExcelColumn;
import com.demo.util.excel.enums.ExcelDataType;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class ChannelVO {

    @ExcelColumn(value = "第%d周目标", field = "storeInfo.channel.%d.targetCount", dataType = ExcelDataType.INTEGER)
    private Integer targetCount;

    @ExcelColumn(value = "第%d周达成数", field = "storeInfo.channel.%d.achievedCount", dataType = ExcelDataType.INTEGER)
    private Integer achievedCount;

    @ExcelColumn(value = "第%d周退租数", field = "storeInfo.channel.%d.unusedCount", dataType = ExcelDataType.INTEGER)
    private Integer unusedCount;

    @ExcelColumn(value = "第%d周达成率", field = "storeInfo.channel.%d.achievedRate", cellStyle = "rateCellStyle")
    private String achievedRate;

}
